package com.itheima.reggie.mapper;

import com.itheima.reggie.entity.SetmealDish;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SetmealDishMapper {
    void save(@Param("setmealDishs") List<SetmealDish> setmealDishs);
    @Delete("delete from setmeal_dish where setmeal_id = #{id}")
    void deleteById(long id);
}
